#pragma once
#include "BaseObject.h"
#include "../SGD Wrappers/SGD_Handle.h"

class Shadow : public BaseObject
{
	int type = OBJ_BASE;
	std::string event;
	SGD::Rectangle renderRect;
	SGD::HTexture* shadows = nullptr;
	
public:
	Shadow();
	virtual ~Shadow();
	virtual void Render(void);
	virtual SGD::Rectangle GetRect(void) const;
	virtual int GetType(void) const { return type; }
	virtual void HandleCollision(const IBase* pOther) override;

	void SetRenderRect(SGD::Rectangle rect) { renderRect = rect; }
	void SetType(int newType) { type = newType; }

};

